/**
 * Author:   linxiao
 * Date:     2018/7/14 17:26
 */
package com.example.demo.web.rest.constant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("导出相关")
public class ExportConstant {

    //导出文件格式默认xlsx
    public static final String EXPORT_FILE_FORMAT = ".xlsx";
    //导出每次分页默认5000
    public static final int EXPORT_PAGESIZE = 5000;
    //导出页码大小默认1
    public static final int EXPORT_ACTIVEPAGE = 1;
    @ApiModelProperty(value = "角色管理")
    public static final String EXPORT_ROLE_MANAGE = "角色管理";
    @ApiModelProperty(value = "角色权限")
    public static final String EXPORT_ROLE_PERMISSION = "角色权限";
    @ApiModelProperty(value = "用户管理")
    public static final String EXPORT_USER_MANAGE = "用户管理";
    @ApiModelProperty(value = "公告管理")
    public static final String EXPORT_NOTICE_MANAGE = "公告管理";
    @ApiModelProperty(value = "操作日志根据区域")
    public static final String EXPORT_OPERATE_LOG_BY_AREA = "区域统计操作日志";
    @ApiModelProperty(value = "单位统计操作日志")
    public static final String EXPORT_OPERATE_LOG_BY_COMPANY = "单位统计操作日志";
    @ApiModelProperty(value = "用户统计操作日志")
    public static final String EXPORT_OPERATE_LOG_BY_USER = "用户统计操作日志";
    @ApiModelProperty(value = "功能统计操作日志")
    public static final String EXPORT_OPERATE_LOG_BY_FUN = "功能统计操作日志";
    @ApiModelProperty(value = "忙时统计操作日志")
    public static final String EXPORT_OPERATE_LOG_BY_BUSY = "忙时统计操作日志";
    @ApiModelProperty(value = "操作日志")
    public static final String EXPORT_OPERATE_LOG_LIST = "操作日志";
    @ApiModelProperty(value = "登录日志")
    public static final String EXPORT_LOGIN_LOG_LIST = "登录日志";
    @ApiModelProperty(value = "模板")
    public static final String EXPORT_TEMPLATE = "模板";

    public static final int EXPORT_TYPE_ROLE = 0;
    public static final int EXPORT_TYPE_USER = 1;
    public static final int EXPORT_TYPE_NOTICE = 2;
    public static final int EXPORT_TYPE_OPERATE_LOG_BY_AREA = 4;
    public static final int EXPORT_TYPE_OPERATE_LOG_BY_COMPANY = 5;
    public static final int EXPORT_TYPE_OPERATE_LOG_BY_USER = 6;
    public static final int EXPORT_TYPE_OPERATE_LOG_BY_FUN = 7;
    public static final int EXPORT_TYPE_OPERATE_LOG_BY_BUSY = 8;
    public static final int EXPORT_TYPE_OPERATE_LOG_LIST = 9;
    public static final int EXPORT_TYPE_LOGIN_LOG_LIST = 10;
}
